# $Id: PKGBUILD 48928 2011-06-07 18:48:12Z angvp $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# This PKGBUILD was autocreated.  See http://xtermin.us/archperl/ for details
# Maintainer: Charles Mauch <cmauch@gmail.com>

pkgname=perl-crypt-simple
pkgver=0.06
pkgrel=5
pkgdesc="Perl/CPAN Module Crypt::Simple"
arch=("any")
url="http://search.cpan.org/dist/Crypt-Simple"
license=("GPL" "PerlArtistic")
source=("http://www.cpan.org/authors/id/K/KA/KASEI/Crypt-Simple-0.06.tar.gz")
md5sums=('cdea18a98593364855f27afcb8519ec0')
options=(!emptydirs)

build() {
  cd $srcdir/Crypt-Simple-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
}

package() {
  cd $srcdir/Crypt-Simple-$pkgver
  make pure_install doc_install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
